package com.zls.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Component
//用户表
public class SysUser {
    @TableId(value = "ID",type = IdType.AUTO)
    private int id;
    private String username;
    private String password;
    private String salt;
    private String nickname;
    private String headImgUrl;
    private String phone;
    private String telephone;
    private String email;
    private Date birthday;
    private int sex;
    private int status=1;
    private Date createTime;
    private Date updateTime;

}
